package com.formation.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.formation.dao.UserJpaDAO;
import com.formation.entities.User;
import com.formation.service.UserService;

@Component
public class UserServiceImpl implements UserService {
	
	@Autowired
	private UserJpaDAO userJpaDAO;

	public User createUser(User user) {
		return userJpaDAO.createUser(user);
	}

}
